<?php /*a:1:{s:81:"H:\phpstudy\PHPTutorial\WWW\www.mokege.io\application\index\view\index\index.html";i:1570781452;}*/ ?>
nav
</br>
<?php if(is_array($cate) || $cate instanceof \think\Collection || $cate instanceof \think\Paginator): $i = 0; $__LIST__ = $cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<li><a href="<?php echo htmlentities($vo['id']); ?>"><?php echo htmlentities($vo['catname']); ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>

首页列表
</br>
<?php if(is_array($archives) || $archives instanceof \think\Collection || $archives instanceof \think\Paginator): $i = 0; $__LIST__ = $archives;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<li><a href="<?php echo htmlentities($vo['id']); ?>"><?php echo htmlentities($vo['title']); ?></a><p>分类:<?php echo htmlentities($vo['catname']); ?></p><p>作者:<?php echo htmlentities($vo['author']); ?></p><p>时间:<?php echo htmlentities($vo['create_time']); ?></p><p>阅读:<?php echo htmlentities($vo['hits']); ?></p><p>评论:<?php echo htmlentities($vo['comments']); ?></p></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
分页
<?php echo $archives; ?>
首页列表
</br>
<?php $__CATE__ = Db::name('category')->where('is_menu',1)->order('sort ASC,id DESC')->select();$__LIST__ = unlimitedForLayer($__CATE__);$__LIST__ =  array_slice($__LIST__, 0,10); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i;?>
<li><a data-id="nav_key_<?php echo htmlentities($key); ?>" href="<?php echo htmlentities($nav['url']); ?>"><?php echo htmlentities($nav['catname']); ?></a>
    <?php if($nav['sub']): ?>
    <ul class="sub-menu">
        <?php if(is_array($nav['sub']) || $nav['sub'] instanceof \think\Collection || $nav['sub'] instanceof \think\Paginator): $i = 0; $__LIST__ = $nav['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
        <li><a data-id="nav_sub_key_<?php echo htmlentities($key); ?>" href="<?php echo htmlentities($v['url']); ?>"><?php echo htmlentities($v['catname']); ?></a></li>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
    <?php endif; ?>
</li>
<?php endforeach; endif; else: echo "" ;endif; ?>